%{--<!DOCTYPE html>
<html lang="en">

<head>
    <meta name="layout" content="main3"/>
    --}%%{--<g:set var="entityName" value="${message(code: 'opportunity.label', default: 'Opportunity')}"/>
    <title>administratorEdit</title>--}%%{--
</head>

<body class="fixed-navbar fixed-sidebar">--}%
<asset:stylesheet src="homer/vendor/datetimepicker/bootstrap-datepicker3.min.css"/>
<div class="message-box">
    <div class="helpMsg hide"></div>
    <g:if test="${flash.message}">
        <div class="message" role="status">
            ${flash.message}
        </div>
    </g:if>
</div>
<div class="small-header">
    <div class="hpanel">
        <div class="panel-body">

            <!-- <h2 class="font-light">
                订单号: ${this.opportunity.serialNumber}
            </h2>
            %{--<small>保护期&nbsp;<g:formatDate format="yyyy-MM-dd HH:mm:ss"--}%
                                          %{--date="${this.opportunity?.protectionStartTime}"/> - <g:formatDate--}%
                    %{--format="yyyy-MM-dd HH:mm:ss" date="${this.opportunity?.protectionEndTime}"/></small>--}% -->
        </div>
    </div>
</div>
<style>
    #rightMessage{
        padding: 10px 40px 16px 40px;
    }
</style>
<div class="animate-panel" id="rightMessage">

    <g:include controller="remoteSignFace" action="questionnaireSurvey1/${this.opportunity?.id}"></g:include>
    <div class="form-group">
        <div class="col-md-3 col-md-offset-5">
            %{--<g:submitButton class="btn btn-info col-md-3"  name="update" value="保存"/>--}%
            <input type="button" class="btn btn-info" name="update" id='submit' value="保存"/>
        </div>
    </div>
</div>
<asset:javascript src="homer/vendor/jquery-ui/jquery-ui.min.js"/>
<asset:javascript src="homer/homer.js"/><asset:javascript src="homer/vendor/datetimepicker/bootstrap-datepicker.min.js"/>
<asset:javascript src="homer/vendor/datetimepicker/bootstrap-datepicker.zh-CN.min.js"/>

<script>
    $(function () {
        $('.hide-menu').click(function () {
            $('.fixed-navbar').toggleClass('hide-sidebar');
        });
        $('.datapicker').datepicker({
            minView: 4,
            language: "zh-CN",
            todayHighlight: true,
            format: 'yyyy-mm-dd 00:00:00.00',
            autoclose: true,
        });

        $(".tab-info .title").click(function () {
            $(this).toggleClass('active').next(".weui-cells").fadeToggle(300);
        });

        $("#submit").click(function () {

            $.ajax({
                url: "/remoteSignFace/questionnaireSurvey1Save",
                type: "post",
                data:$("#formTestSub").serialize(),
                success: function (data) {
                    // $('#form5').html(data)

                }
            })

        })

        function helpMessage(message) {

            toastr.error(message)
        }
    })
</script>
%{--</body>
</html>--}%
